import subprocess
args = [r"d:\python312\python.exe", r"d:\ma\bing\loginse.py"]
subprocess.Popen(args,start_new_session=True, creationflags=subprocess.DETACHED_PROCESS,
                             stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
